//
//  VideoModel.swift
//  约健
//
//  Created by tyh on 2017/10/11.
//  Copyright © 2017年 tyh. All rights reserved.
//
/*
 "id":"2",
 "tvideo_name":"养成1",
 "thumb":"clubthumb/thumb/20160126/20160126072115_770706453.JPG",
 "url":"zjs/mvc1.mp4"
 */

import UIKit

class VideoModel: NSObject {
    var id:NSString!
    var tvideo_name:NSString!
    var thumb:NSString!
    var url:NSString!
    
    class func VideoModelWithDict(_ dict:NSDictionary)-> VideoModel{
        let model = VideoModel()
        
        model.setValuesForKeys(dict as! [String: NSObject])
        /*
        model.id = dict.value(forKey: "id") as! NSString!
        model.tvideo_name = dict.value(forKey: "tvideo_name") as! NSString!
        model.thumb = dict.value(forKey: "thumb") as! NSString!
        model.url = dict.value(forKey: "url") as! NSString!
        */
        return model

}
}
